<%--
  Created by IntelliJ IDEA.
  User: 杨叶
  Date: 2021/6/5
  Time: 15:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<link href="css/rightbar.css">
<html>
<head>

</head>
<body>

<div class="picnews">
    <ul>
        <li id="li" style="background-color: red "><%--<a href="#"><img src="#" width="249" alt="">--%>

            <ul>
            <c:forEach var="adver" items="${sessionScope.adverst}">
                <li><a href="https://www.ele.me/3" width="249" >${adver.aname}</a></li>
            </c:forEach>
            </ul>
        </a><a href="#">广告窗位</a>
        </li>
        <li> <a href="#"><img src="images/Picture1.jpg" width="249" alt="" /> </a><a href="#">幻想中穿越时空</a> </li>
        <li> <a href="#"><img src="images/Picture2.jpg" width="249" alt="" /> </a><a href="#">国庆多变的发型</a> </li>
        <li> <a href="#"><img src="images/Picture3.jpg" width="249" alt="" /> </a><a href="#">新技术照亮都市</a> </li>
        <li> <a href="#"><img src="images/Picture4.jpg" width="249" alt="" /> </a><a href="#">群星闪耀红地毯</a> </li>
    </ul>
</div>
</body>
</html>
